﻿Public Class WebForm2
    Inherits System.Web.UI.Page

    Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load

    End Sub

	Protected Sub Button1_Click(ByVal sender As Object, ByVal e As EventArgs) Handles Button1.Click
		If RadioButtonList1.SelectedIndex = 0 Then
			Me.Label1.Text = BL.InDirectDB.ExcuteNonQury(Me.TextBox1.Text)
		Else
			Me.GridView1.DataSource = BL.InDirectDB.GetDataTables(Me.TextBox1.Text)
			Me.GridView1.DataBind()
		End If
	End Sub
End Class